// pages/category/index.js
// import { request } from "../request/index.js"
Page({
  data: {
    leftMenuList:[]
  },
  onLoad: function (options){
    this.getCates();
  },
  getCates(){
    wx.request({
      url: 'http://120.78.160.172:8002/api/Commodity/GetCommodityAll',
      success: (result) => {
        this.setData({
          leftMenuList:result.data
        })
      },
    })
  
  }
})